package com.lmx.tour_management_system.pojo;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author lmx
 * @since 2021-01-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 登录用户名
     */
    private String accountUsername;

    /**
     * 登录密码
     */
    private String accountPassword;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date accountCreateTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date accountUpdateTime;

    /**
     * 账号id
     */
    @TableId(type = IdType.AUTO)
    private Integer accountId;

}
